﻿<%@ Page Language="C#" MasterPageFile="~/Admin/PH_Admin.master" AutoEventWireup="true" CodeFile="donhang.aspx.cs" Inherits="Admin_donhang" Title="Untitled Page" %>

<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  
  <div>
        <h2>
     Danh sách đơn hàng
        </h2>
            <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound" >
                <HeaderTemplate>
                    <table cellspacing="1" cellpadding="3" width="100%" border="2">
                        <thead>
                            <tr class="listtableheader">
                                <th>
                                    Mã đơn hàng</th>
                                <th>
                                    Khách hàng</th>
                                <th>
                                    Ngày đặt hàng</th>
                                <th>
                                    Ngày giao hàng</th>
                                    <th>
                                    Tình trạng</th>
                                    <th>
                                    Trị giá</th>
                                <th>
                                    Điạ chỉ nhận hàng</th>
                                    <th>
                                    Mã nhân viên</th>
                              
                            </tr>
                        </thead>
                        <tbody>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td>
                            <asp:HyperLink ID="hyp_DonHang" runat="server" NavigateUrl="" />
                        </td>
                        <td>
                            <asp:Literal ID="lit_KhachHang" runat="server"></asp:Literal>
                        </td>
                        <td>
                            <%#Eval("ngaydathang") %>
                        </td>
                        <td>
                            <%#Eval("ngaygiaohang") %>
                        </td>
                         <td>
                            <%#Eval("tinhtrang") %>
                        </td>
                        <td>
                            <%#Eval("trigia") %>
                        </td>
                         <td>
                            <%#Eval("diachinhanhang") %>
                        </td>
                        <td>
                            <%#Eval("manv") %>
                        </td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </tbody> </table>
                </FooterTemplate>
            </asp:Repeater>
      <br />
      &nbsp;<cc1:PagerV2_8 ID="PagerV2_8_1" runat="server" OnCommand="PagerV2_8_1_Command" />
        </div>
</asp:Content>

